package com.lj.ljminsu.dao;

import com.lj.ljminsu.bean.TjUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {

    void addUser(TjUser tjUser);

    String checkPhone(String userPhone);

    TjUser selectUserByUserPhone(String userPhone);

    TjUser selectUserByUserEmail(String email);

    String checkUserByEmail(String email);

    TjUser selectUserByUserAccount(String account);

    void updatePasswordByUserPhone(@Param("password")String password,@Param("userPhone") String userPhone);


}
